#if !defined(AFX_DLGSTOPWORK_H__2FBB0666_C30B_4E00_A9B7_DF64D21A4B1E__INCLUDED_)
#define AFX_DLGSTOPWORK_H__2FBB0666_C30B_4E00_A9B7_DF64D21A4B1E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dlgstopwork.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgstopwork dialog

class CMotionControl;
class CMyJcz;
class CDlgstopwork : public CDialog
{
// Construction
public:
	CDlgstopwork(CWnd* pParent = NULL);   // standard constructor
	CMotionControl* m_pMotionCtrl;
	CMyJcz* m_pJcz;
	int m_stopType; //0-JogStop, 1-ProgramStop
	void SetMotionCtrl(CMotionControl* pMotionCtrl);
	void SetJczCtrl(CMyJcz* pJcz);
	void SetStopType(int iStopType);
	int GetStopType();

// Dialog Data
	//{{AFX_DATA(CDlgstopwork)
	enum { IDD = IDD_DLG_STOPWORK };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgstopwork)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgstopwork)
	virtual BOOL OnInitDialog();
	afx_msg void OnStop();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGSTOPWORK_H__2FBB0666_C30B_4E00_A9B7_DF64D21A4B1E__INCLUDED_)
